package com.woniu.car.parameter;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class ElasticShopAddParameter {
    @NotNull(message = "商铺id不能为空")
    @Min(value=0,message = "id参数异常")
    @ApiModelProperty("商铺id为主键")
    private String id;
    @NotNull(message = "商铺名不能为空")
    @ApiModelProperty("商铺名为主键")
    private String shopName;
    @ApiModelProperty("商铺描述")
    private String shopDesc;
    @NotNull(message = "商铺地址不能为空")
    @ApiModelProperty("商铺地址")
    private String shopAddr;
    @ApiModelProperty("商铺经纬度")
    private String longitudeAndShopLatitude;
    @ApiModelProperty("商铺图片地址")
    private String shopPictureUrl;
    @ApiModelProperty("商铺得分")
    private Double shopScore;
    @ApiModelProperty("商铺营业时间")
    private String businessTime;
    
}
